Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(payment): improve create api docs #822

Merged
merged 2 commits into from
Feb 7, 2024
Merged

feat(payment): improve create api docs #822

merged 2 commits into from
Feb 7, 2024

Conversation

fersilva16
Copy link
Contributor

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Feb 7, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1fb8bdf
Status:⚡️  Build in progress...

View logs

@fersilva16 fersilva16 merged commit 18348d4 into main Feb 7, 2024
1 check was pending
@fersilva16 fersilva16 deleted the feat/payment branch February 7, 2024 14:39
@@ -15,18 +15,20 @@ import TabItem from '@theme/TabItem';
Nós disponibilizamos o _endpoint_ `/api/v1/payment` para que você possa criar
um novo _payment_ para a respectiva empresa afiliada.

Você pode acessar [aqui](<[https://developers.openpix.com.br/api#tag/payment-(request-access)/paths/~1api~1v1~1payment/post](https://developers.openpix.com.br/api#tag/payment-(request-access)/paths/~1api~1v1~1payment/post)>)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mixed woovi with openpix

@@ -3348,6 +3361,9 @@ components:
destinationAlias:
type: string
description: the pix key the payment should be sent to
destinationAliasType:
type: string
description: the type of the pix key the payment should be sent to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have each type here?

2. Por QR Code, esperamos o envio obrigatório dos itens `qrCode` e `correlationID`.

Abaixo temos a descrição de cada campo junto dos opcionais:

- **`value`**: O valor em centavos do pagamento a ser criado.
- **`destinationAlias`**: A chave pix destinatária do pagamento criado.
- **`destinationAliasType`**: A tipo da chave pix destinatária do pagamento criado.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have each type of pix key here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants